package com.bean;

/**
 * @Author: 柏竹
 * @Description: 一个简洁主义...
 * @Date_Created_in: 2021-05-20 8:01
 * @Modified_By: Sans
 * @Project: 发消息类
 */
public class Message {
    // 状态码  0=>yes -1=>no
    private int status;
    //消息内容
    private String result;
    //消息携带的数据（JSON）
    private Object data;
    
    
    public Message() {
    }
    
    public Message(int status , Object data) {
        this.status = status;
        this.data = data;
    }
    
    public Message(String result , int status , Object data) {
        this.result = result;
        this.status = status;
        this.data = data;
    }
    
    public int getStatus() {
        return status;
    }
    
    public void setStatus(int status) {
        this.status = status;
    }
    
    public String getResult() {
        return result;
    }
    
    public void setResult(String result) {
        this.result = result;
    }
    
    public Object getData() {
        return data;
    }
    
    public void setData(Object data) {
        this.data = data;
    }
}
